const express = require('express')

const app = new express()

app.use(express.static(__dirname))

app.get('/a', (req, res)=>{
    let id = req.query.id
    res.send("接收到参数：" + id )
})

app.get('/b', (req, res) => {
    setTimeout(()=>{
        let id = req.query.id
        res.send("接收到参数异步返回：" + id)
    }, 1000)
})

app.listen(90)